-
Home
-
Limit Orders for WooCommerce
-
1.3.1
-
Code
-
Classes
- OrderLimiter
Total Complexity |
55 |
Dependencies |
5 |
Dependents |
2 |
Total lines |
443 |
Lines of code |
186 |
Logical lines of code |
107 |
Comment lines |
186 |
Methods |
22 |
Properties |
2 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_interval_start() |
S |
49 |
7 |
29 |
get_next_interval_start() |
S |
55 |
5 |
20 |
get_remaining_orders() |
S |
58 |
5 |
15 |
customer_notice() |
S |
64 |
6 |
9 |
get_placeholders() |
S |
55 |
3 |
18 |
count_qualifying_orders() |
S |
56 |
3 |
17 |
get_message() |
S |
58 |
3 |
16 |
get_limit() |
S |
73 |
4 |
4 |
get_setting() |
S |
69 |
3 |
6 |
__construct() |
S |
79 |
2 |
3 |
regenerate_transient() |
S |
63 |
2 |
10 |
reset_limiter_on_update() |
S |
74 |
2 |
5 |
init() |
S |
74 |
1 |
4 |
is_enabled() |
S |
79 |
1 |
3 |
get_interval() |
S |
79 |
1 |
3 |
get_seconds_until_next_interval() |
S |
79 |
1 |
3 |
has_orders_in_current_interval() |
S |
80 |
1 |
3 |
has_reached_limit() |
S |
80 |
1 |
3 |
disable_ordering() |
S |
69 |
1 |
6 |
abort_checkout() |
S |
80 |
1 |
3 |
order_button_html() |
S |
78 |
1 |
3 |
reset() |
S |
81 |
1 |
3 |